//
//  LogCatInfoPlistHelper.h
//  LogCat
//
//  Created by Epoch on 2024/1/12.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <LogCat/LogCatLocalModel.h>

NS_ASSUME_NONNULL_BEGIN

/**info.plist 检测结果Block */
typedef void (^InfoPlistCheckResultBlock)(BOOL passCheck, NSString *msg);

@interface LogCatInfoPlistHelper : NSObject

/// 检测info.plist中是否包含需要的键值对
/// - Parameter block: 检测结果
+ (void)checkInfoPlistKeys:(InfoPlistCheckResultBlock)block;

/// 从info.plist中加载配置数据
/// - Parameters:
///   - localModel: localModel description
///   - block: block description
+ (void)checkInfoWhenNeedLoadDataFromPlist:(LogCatLocalModel *)localModel block:(InfoPlistCheckResultBlock)block;

@end

NS_ASSUME_NONNULL_END
